package com.printeverywhere.dto;

import java.util.Date;
import java.util.HashSet;
import java.util.List;
import java.util.Set;

/**
 * BannerCampaigns entity.
 *
 * @author MyEclipse Persistence Tools
 */

public class BannerCampaigns implements java.io.Serializable {

	// Fields

	private Integer id;
	private User user;
	private BannerSettings bannerSettings;
	private GeneralCategories generalCategories;
	private byte[] image;
	private String campaign;
	private String targetTag;
	private String redirectUrl;
	private String underText;
	private String altText;
	private String bannerUrl;
	private String textBanner;
	private Integer width;
	private Integer height;
	private Integer clicks;
	private Integer maxClicks = 0;
	private Integer views;
	private Integer maxViews = 0;
	private Integer days;
	private Integer maxDays = 0;
	private Date startDate;
	private Date endDate;
	private Boolean active;
	private Integer status = 0;
	private Set bannerHourlyStatisticses = new HashSet(0);
	private Set bannerDailyStatisticses = new HashSet(0);
	private Set bannerZoneses = new HashSet(0);
	private Set bannerFormats = new HashSet(0);
	private String[] categories;
	private int totalSpent;
	private int spent;

	// Constructors

	/** default constructor */
	public BannerCampaigns() {
	}

	/** minimal constructor */
	public BannerCampaigns(Integer id) {
		this.id = id;
	}

	/** full constructor */
	public BannerCampaigns(Integer id, User user,
			BannerSettings bannerSettings, GeneralCategories generalCategories, String campaign, String targetTag,
			String redirectUrl, String underText, String altText,
			String bannerUrl, String textBanner, Integer width, Integer height,
			Integer clicks, Integer maxClicks, Integer views,
			Integer maxViews, Integer days, Integer maxDays, Date startDate, Date endDate, Integer status,Boolean active,
			Set bannerHourlyStatisticses, Set bannerDailyStatisticses,
			Set bannerZoneses) {
		this.id = id;
		this.user = user;
		this.bannerSettings = bannerSettings;
		this.generalCategories = generalCategories;
		this.campaign = campaign;
		this.targetTag = targetTag;
		this.redirectUrl = redirectUrl;
		this.underText = underText;
		this.altText = altText;
		this.bannerUrl = bannerUrl;
		this.textBanner = textBanner;
		this.width = width;
		this.height = height;
		this.clicks = clicks;
		this.maxClicks = maxClicks;
		this.views = views;
		this.maxViews = maxViews;
		this.days = days;
		this.maxDays = maxDays;
		this.startDate = startDate;
		this.endDate = endDate;
		this.status = status;
		this.active = active;
		this.bannerHourlyStatisticses = bannerHourlyStatisticses;
		this.bannerDailyStatisticses = bannerDailyStatisticses;
		this.bannerZoneses = bannerZoneses;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public BannerSettings getBannerSettings() {
		return this.bannerSettings;
	}

	public void setBannerSettings(BannerSettings bannerSettings) {
		this.bannerSettings = bannerSettings;
	}

	public String getCampaign() {
		return this.campaign;
	}

	public void setCampaign(String campaign) {
		this.campaign = campaign;
	}

	public String getTargetTag() {
		return this.targetTag;
	}

	public void setTargetTag(String targetTag) {
		this.targetTag = targetTag;
	}

	public String getRedirectUrl() {
		return this.redirectUrl;
	}

	public void setRedirectUrl(String redirectUrl) {
		this.redirectUrl = redirectUrl;
	}

	public String getUnderText() {
		return this.underText;
	}

	public void setUnderText(String underText) {
		this.underText = underText;
	}

	public String getAltText() {
		return this.altText;
	}

	public void setAltText(String altText) {
		this.altText = altText;
	}

	public String getBannerUrl() {
		return this.bannerUrl;
	}

	public void setBannerUrl(String bannerUrl) {
		this.bannerUrl = bannerUrl;
	}

	public String getTextBanner() {
		return this.textBanner;
	}

	public void setTextBanner(String textBanner) {
		this.textBanner = textBanner;
	}

	public Integer getWidth() {
		return this.width;
	}

	public void setWidth(Integer width) {
		this.width = width;
	}

	public Integer getHeight() {
		return this.height;
	}

	public void setHeight(Integer height) {
		this.height = height;
	}

	public Integer getClicks() {
		return this.clicks;
	}

	public void setClicks(Integer clicks) {
		this.clicks = clicks;
	}

	public Date getStartDate() {
		return this.startDate;
	}

	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}

	public Date getEndDate() {
		return this.endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Set getBannerHourlyStatisticses() {
		return this.bannerHourlyStatisticses;
	}

	public void setBannerHourlyStatisticses(Set bannerHourlyStatisticses) {
		this.bannerHourlyStatisticses = bannerHourlyStatisticses;
	}

	public Set getBannerDailyStatisticses() {
		return this.bannerDailyStatisticses;
	}

	public void setBannerDailyStatisticses(Set bannerDailyStatisticses) {
		this.bannerDailyStatisticses = bannerDailyStatisticses;
	}

	public Set getBannerZoneses() {
		return this.bannerZoneses;
	}

	public void setBannerZoneses(Set bannerZoneses) {
		this.bannerZoneses = bannerZoneses;
	}

	public byte[] getImage() {
		return image;
	}

	public void setImage(byte[] image) {
		this.image = image;
	}

	public Integer getMaxClicks() {
		return maxClicks;
	}

	public void setMaxClicks(Integer maxClicks) {
		this.maxClicks = maxClicks;
	}

	public GeneralCategories getGeneralCategories() {
		return generalCategories;
	}

	public void setGeneralCategories(GeneralCategories generalCategories) {
		this.generalCategories = generalCategories;
	}

	public Integer getViews() {
		return views;
	}

	public void setViews(Integer views) {
		this.views = views;
	}

	public Integer getMaxViews() {
		return maxViews;
	}

	public void setMaxViews(Integer maxViews) {
		this.maxViews = maxViews;
	}

	public Integer getDays() {
		return days;
	}

	public void setDays(Integer days) {
		this.days = days;
	}

	public Integer getMaxDays() {
		return maxDays;
	}

	public void setMaxDays(Integer maxDays) {
		this.maxDays = maxDays;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public String[] getCategories() {
		return categories;
	}

	public void setCategories(String[] categories) {
		this.categories = categories;
	}

	public Boolean getActive() {
		return active;
	}

	public void setActive(Boolean active) {
		this.active = active;
	}

	public Set getBannerFormats() {
		return bannerFormats;
	}

	public void setBannerFormats(Set bannerFormats) {
		this.bannerFormats = bannerFormats;
	}

	public int getTotalSpent() {
		return totalSpent;
	}

	public void setTotalSpent(int totalSpent) {
		this.totalSpent = totalSpent;
	}

	public int getSpent() {
		return spent;
	}

	public void setSpent(int spent) {
		this.spent = spent;
	}

}